package com.itheima.io.bufferedoutputstream.demo01;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class BufferedOutputStreamDemo01 {

    public static void main(String[] args) throws IOException {

        BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(new FileOutputStream("itheima-io-bufferedoutputstream\\a.text"));

        bufferedOutputStream.write("jiangzai".getBytes());

        bufferedOutputStream.close();

    }
}
